#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2021/8/6 11:36 下午
# @Author : daiyizheng
# @Version：V 0.1
# @File : run_action_server.py
# @desc :

from rasa.shared.constants import DEFAULT_ACTIONS_PATH
from rasa_sdk.endpoint import run

import logging

logging.basicConfig(level = logging.DEBUG, format='[%(levelname)s %(asctime)s %(filename)s:%(lineno)d] %(message)s')

run(
    action_package_name=DEFAULT_ACTIONS_PATH,
    port=5055
)